package com.spt.springbootzhsx.mapper;

import com.spt.springbootzhsx.entity.Cinema;
import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;

@Mapper
public interface CinemaMapper {
    Cinema getCinemaByCid(Integer cid);
    Cinema getCinemaByCname(String cname);
    int addCinema(Cinema cinema);
    ArrayList<Cinema> getAllCinema();
    int updateCinema(Cinema cinema);
    int deleteCinema(Integer cid);
}
